#ifndef FINDME2NDVIEWSTATUS_H_
#define FINDME2NDVIEWSTATUS_H_
// INCLUDES
#include <aknview.h>
#include "Common.h"


// CONSTANTS
// UID of view
const TUid KViewId = {1};

// FORWARD DECLARATIONS
class CFindMe2ndContainerStatus;

// CLASS DECLARATION

/**
*  CFindMe2ndViewStatus view class.
* 
*/
class CFindMe2ndViewStatus : public CAknView
	{
	public: // Constructors and destructor

		/**
		* EPOC default constructor.
		*/
		void ConstructL();

		/**
		* Destructor.
		*/
		~CFindMe2ndViewStatus();
		
		void DisplayOnContainer(const enum TDisplaySection& aSection, const TDesC& aText);

	public: // Functions from base classes
		
		/**
		* From CAknView returns Uid of View
		* @return TUid uid of the view
		*/
		TUid Id() const;

		/**
		* From MEikMenuObserver delegate commands from the menu
		* @param aCommand a command emitted by the menu 
		* @return void
		*/
		void HandleCommandL(TInt aCommand);

		/**
		* From CAknView reaction if size change
		* @return void
		*/
		void HandleClientRectChange();

	private:

		/**
		* From CAknView activate the view
		* @param aPrevViewId 
		* @param aCustomMessageId 
		* @param aCustomMessage 
		* @return void
		*/
		void DoActivateL(const TVwsViewId& aPrevViewId,TUid aCustomMessageId,
			const TDesC8& aCustomMessage);

		/**
		* From CAknView deactivate the view (free resources)
		* @return void
		*/
		void DoDeactivate();

	private: // Data
		CFindMe2ndContainerStatus* iContainer;
	};
#endif /*FINDME2NDVIEWSTATUS_H_*/
